package kr.co.goodwilldd.framework.email.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class EmailBody implements Serializable {
	private static final long serialVersionUID = -5565351443311235759L;
	String toEmailAddresses;
	String fromEmailAddress;
	String subject;
	List<MailAttachment> attachments;
	String mailTemplate;
	HashMap<String, Object> param;
	boolean isSend;
	int mailSeq;
	String sendDate;
	
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_FIELD_NAMES_STYLE);
	}

	public String getToEmailAddresses() {
		return toEmailAddresses;
	}

	public void setToEmailAddresses(String toEmailAddresses) {
		this.toEmailAddresses = toEmailAddresses;
	}

	public String getFromEmailAddress() {
		return fromEmailAddress;
	}

	public void setFromEmailAddress(String fromEmailAddress) {
		this.fromEmailAddress = fromEmailAddress;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public List<MailAttachment> getAttachments() {
		return attachments;
	}

	public void setAttachments(List<MailAttachment> attachments) {
		this.attachments = attachments;
	}

	public String getMailTemplate() {
		return mailTemplate;
	}

	public void setMailTemplate(String mailTemplate) {
		this.mailTemplate = mailTemplate;
	}

	public HashMap<String, Object> getParam() {
		return param;
	}

	public void setParam(HashMap<String, Object> param) {
		this.param = param;
	}

	public boolean isSend() {
		return isSend;
	}

	public void setSend(boolean isSend) {
		this.isSend = isSend;
	}

	public int getMailSeq() {
		return mailSeq;
	}

	public void setMailSeq(int mailSeq) {
		this.mailSeq = mailSeq;
	}

	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

}
